<%@ page language="java" contentType="text/html; charset=UTF-8"	pageEncoding="UTF-8"%>
<%@ page import="com.fckbug.vos.Acc"%>
<%@ page import="com.fckbug.util.WebappUtil"%>
<%
Acc acc = (Acc)request.getAttribute("acc");
Acc loginedAcc = WebappUtil.getLoginUser(request);
boolean isWriteable = acc.getId().equals(loginedAcc.getId());
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>个人信息</title>
 <link rel="stylesheet" type="text/css" href="/css/all.css?v=1">
 <style>
 .asktitle{font-weight:bold;margin-right:12px;}
 </style>
<script src="/js/jquery-1.6.1.min.js" type="text/javascript"></script>
<script type="text/javascript" src="/ckeditor/ckeditor.js"></script>
<script>
$(function(){
})
</script>
</head>
<body>
<div id="custom-header"></div>
<div class="container">
<jsp:include page="/header.jsp"></jsp:include>
<div id="content">
	<div id="mainbar-full" class="user-show-new">
		<div class="subheader">
			<h1 id="user-displayname"><%=acc.getNickName() %></h1>
			<%if(isWriteable){ %><span class="toggle-summary-wrap"><a href="/user/profile.do?id=<%=acc.getId() %>&f=edit" class="toggle-summary">&gt;编辑</a></span><%} %>
		</div>
		<div id="user-info-container">
			<div id="large-user-info" class="user-header" style="">
				<div class="user-header-left">
					<div class="gravatar">
						<div class=""><img src="/head/<%=acc.getId() %>" alt="" width="128" height="128" class="main-image"/></div>
						<div class="reputation">
							<span>
								<a href="/users/2553154/hao?tab=reputation">1</a>
							</span>
							reputation
						</div>
						<div class="badges">
							<span></span>
						</div>
						<div id="change-picture-progress"></div>
					</div>
					<div class="data">
						<table>
							<tbody>
								<tr>
									<th>&nbsp;&nbsp;&nbsp;</th>
									<td><b>所在公司：</b></td>
									<td><%=acc.getCompany() %></td>
								</tr>
								<tr>
									<th></th>
									<td>所在地：</td>
									<td class="label adr"><%=acc.getLocation() %></td>
								</tr>
								<tr>
									<th></th>
									<td>电子邮件：</td>
									<td><%=acc.getEmail() %></td>
								</tr>
								<tr>
									<th></th>
									<td>真实姓名：</td>
									<td><%=acc.getRealName() %></td>
								</tr>
								<tr>
									<th></th>
									<td>生日：</td>
									<td><%=acc.getBirthday() %></td>
								</tr>
							</tbody>
							<!-- <tbody>
								<tr>
									<th>visits</th>
									<td>member for</td>

									<td class="cool" title="2013-07-05 09:22:03Z">55 days</td>
								</tr>
								<tr>
									<th></th>
									<td>visited</td>
									<td class="days-visited"><span id="days-visited" style="cursor: pointer;">21 days, 2 consecutive</span></td>
								</tr>
								<tr>
									<th></th>
									<td>seen</td>

									<td class="supernova" title="2013-08-28 10:16:59Z">
										<span title="2013-08-28 10:16:59Z" class="relativetime">4 mins ago</span>
									</td>
								</tr>
							</tbody>
							<tbody>
								<tr>
									<th>stats</th>
									<td>profile views</td>
									<td>0</td>
								</tr>

							</tbody> -->
						</table>
					</div>
				</div>
				<br class="clear">
			</div>

		</div>
	</div>
</div>
</div>
</body>
</html>